package com.gxp.service;

import java.util.List;
import java.util.Map;

import org.springframework.stereotype.Service;

import com.gxp.pojo.Order;
import com.gxp.pojo.WXOrder;

@Service
public interface OrderService {
	
	public List<Order> findBuyerOrders(Map<String, Object> param);
	
	public Order findByOrderId(int orderId);
	
	public void updateOrderStatus(Map<String, Object> param);
	
	public void insertOrder(Order order);
	
	public List<Order> findByUserId(String userId);
	
	public void updateBuyerOrder(Order order);

	public void delOrder(Map<String, Object> param);
	
	public WXOrder getWxOrder(Map<String, Object> param);
	
	public List<WXOrder> findOrdersForWx(Map<String, Object> param);
	
}
